/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
import com.umeng.analytics.pro.z;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class CuotiEntity {
    @NotNull
    private final List<JiucuoBook> jiucuoBookList;
    @NotNull
    private final List<PaperRecordVO> paperRecordVOList;
    @NotNull
    private final User user;

    public CuotiEntity(@NotNull User user, @NotNull List<JiucuoBook> jiucuoBookList, @NotNull List<PaperRecordVO> paperRecordVOList) {
        Intrinsics.checkNotNullParameter(user, "user");
        Intrinsics.checkNotNullParameter(jiucuoBookList, "jiucuoBookList");
        Intrinsics.checkNotNullParameter(paperRecordVOList, "paperRecordVOList");
        this.user = user;
        this.jiucuoBookList = jiucuoBookList;
        this.paperRecordVOList = paperRecordVOList;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ CuotiEntity copy$default(CuotiEntity cuotiEntity, User user, List list, List list2, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            user = cuotiEntity.user;
        }
        if ((i2 & 2) != 0) {
            list = cuotiEntity.jiucuoBookList;
        }
        if ((i2 & 4) != 0) {
            list2 = cuotiEntity.paperRecordVOList;
        }
        return cuotiEntity.copy(user, list, list2);
    }

    @NotNull
    public final User component1() {
        return this.user;
    }

    @NotNull
    public final List<JiucuoBook> component2() {
        return this.jiucuoBookList;
    }

    @NotNull
    public final List<PaperRecordVO> component3() {
        return this.paperRecordVOList;
    }

    @NotNull
    public final CuotiEntity copy(@NotNull User user, @NotNull List<JiucuoBook> jiucuoBookList, @NotNull List<PaperRecordVO> paperRecordVOList) {
        Intrinsics.checkNotNullParameter(user, "user");
        Intrinsics.checkNotNullParameter(jiucuoBookList, "jiucuoBookList");
        Intrinsics.checkNotNullParameter(paperRecordVOList, "paperRecordVOList");
        return new CuotiEntity(user, jiucuoBookList, paperRecordVOList);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof CuotiEntity)) {
            return false;
        }
        CuotiEntity cuotiEntity = (CuotiEntity) obj;
        return Intrinsics.areEqual(this.user, cuotiEntity.user) && Intrinsics.areEqual(this.jiucuoBookList, cuotiEntity.jiucuoBookList) && Intrinsics.areEqual(this.paperRecordVOList, cuotiEntity.paperRecordVOList);
    }

    @NotNull
    public final List<JiucuoBook> getJiucuoBookList() {
        return this.jiucuoBookList;
    }

    @NotNull
    public final List<PaperRecordVO> getPaperRecordVOList() {
        return this.paperRecordVOList;
    }

    @NotNull
    public final User getUser() {
        return this.user;
    }

    public int hashCode() {
        return (((this.user.hashCode() * 31) + this.jiucuoBookList.hashCode()) * 31) + this.paperRecordVOList.hashCode();
    }

    @NotNull
    public String toString() {
        return "CuotiEntity(user=" + this.user + ", jiucuoBookList=" + this.jiucuoBookList + ", paperRecordVOList=" + this.paperRecordVOList + ')';
    }
}